<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
		<link type="text/css" rel="stylesheet" href="/extensions/ComfyUI-3D-Pack/style/threeStyle.css">
		<link type="text/css" rel="stylesheet" href="/extensions/ComfyUI-3D-Pack/style/libs/coloris.min.css">
		<link type="text/css" rel="stylesheet" href="/extensions/ComfyUI-3D-Pack/style/sharedStyle.css">
	</head>

	<body>
		<div id="progress-container">
			<dialog open id="progress-dialog">
				<p>
					<label for="progress-indicator">Loading scene...</label>
				</p>
				<progress max="100" id="progress-indicator"></progress>
			</dialog>
		</div>

		<div id="container">
			<script type="importmap">
				{
				  "imports": {
					"three": "https://cdn.jsdelivr.net/npm/three@latest/build/three.module.js",
					"three/addons/": "https://cdn.jsdelivr.net/npm/three@latest/examples/jsm/"
				  }
				}
			</script>
			<script id="visualizer" type="module" filepath="" timestamp="" crossorigin src="/extensions/ComfyUI-3D-Pack/js/threeVisualizer.js"></script>
		</div>

		<script src="/extensions/ComfyUI-3D-Pack/js/libs/coloris.min.js"></script>
		<script>
			Coloris({
				el: '.coloris',
				theme: 'polaroid',
				themeMode: 'dark',
				format: 'rgb',
				alpha: false,
				swatches: [
					'rgb(0, 0, 0)',
					'rgb(128, 128, 128)',
					'rgb(255, 255, 255)',
					'rgb(132, 188, 218)',
					'rgb(128, 227, 119)',
					'rgb(213, 96, 98)'
				]
			});
		</script>
		<button type="button" id="download-button">Download</button>
		<input type="text" id="color-picker" class="coloris" value="rgb(128, 128, 128)"></input>
	</body>

</html>
